package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Comment;
import cn.wolfcode.trip.base.query.CommentQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CommentMapper {
    
    int deleteByPrimaryKey(Long id);

    int insert(Comment comment);

    Comment selectByPrimaryKey(Long id);

    List<Comment> selectAll();

    int updateByPrimaryKey(Comment comment);

    List<Comment> queryForList(QueryObject qo);

    Integer queryCountByStrategyCommentId(Long strategyCommentId);

}